package com.car.loan.project.xr.util.bo.business;

import com.car.loan.project.xr.util.vo.LoanAlbumVo;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/12/22 19:12
 */
@Data
public class MortgageInfoBo {


    @ApiModelProperty(value = "业务id", required = true)
    @NotBlank
    private String loanId;

    @ApiModelProperty(value = "0=保存 1=提交", required = true)
    @NotNull
    @Min(0)
    @Max(1)
    private Long operatorStatus;

    /**
     * 抵押日期
     */
    @ApiModelProperty(value = "抵押日期 yyyy-mm-dd", required = true)
    private String mortgageDate;

    /**
     * 牌证移交日期
     */
    @ApiModelProperty(value = "牌证移交日期 yyyy-mm-dd", required = true)
    private String certTransferDate;

    @ApiModelProperty("车辆信息图片")
    private List<LoanAlbumVo> carInfoAlbums = Lists.newArrayList();
}
